Bridge method in C++ 